package com.daifeng.authserver.feign;

import com.daifeng.common.utils.R;
import com.daifeng.common.vo.socialUser;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("mall-member")
public interface MemberFeign {

    /**
     * 微博登录
     * @param socialUser
     * @return
     */
    @PostMapping("/member/weibo/login")
    public R login(@RequestBody socialUser socialUser);


}
